package com.web.dao.bookrack;

import com.web.bean.bookrack.BookRack;

import java.util.List;

/**
 * @autor Chen
 * @create 2021--25-15:26
 * @desc
 */
public interface BookRackDao {
    //书架检索 显示 书架 状态码为1
    List<BookRack> bookRacks() throws Exception;
    List<BookRack> hisBook() throws  Exception;
    void addBookRack(BookRack bookRack) throws Exception;

    //nid
    void deleteBookRack(String id) throws Exception;
    BookRack selectBookRackById(String id) throws Exception;

    void updateBookRack(BookRack bookRack) throws  Exception;

}
